package pojo;

import java.io.Serializable;
import java.util.Date;

public class Book implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private Date publishDate;
	private String author;
	private Double price;
	private Boolean isNewBook;
	private String publisher;
	
	public Book(){
		super();
	}

	public Book(Integer id, String name, Date publishDate, String author,
			Double price, Boolean isNewBook, String publisher) {
		super();
		this.id = id;
		this.name = name;
		this.publishDate = publishDate;
		this.author = author;
		this.price = price;
		this.isNewBook = isNewBook;
		this.publisher = publisher;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Boolean getIsNewBook() {
		return isNewBook;
	}

	public void setIsNewBook(Boolean isNewBook) {
		this.isNewBook = isNewBook;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	
}